-
Notifications
You must be signed in to change notification settings - Fork 3.8k
fix: resolve template helper error for {{{ input }}} syntax (#6749) #8750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: resolve template helper error for {{{ input }}} syntax (#6749) #8750
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
|
I have read the CLA Document and I hereby sign the CLA |
…lanNggg/fix-6749-template-helper-error
|
🎉 This PR is included in version 1.34.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.30.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Fixed "t.registerHelper is not a function" error when using {{{ input }}} in custom prompts by correctly importing the Handlebars default export.
AI Code Review
@continue-reviewChecklist
Screen recording or screenshot
Tests
All existing tests in gui/src/components/mainInput/TipTapEditor/utils/renderPromptv1.test.ts pass
Summary by cubic
Fixed Handlebars import to use the default export, resolving the “t.registerHelper is not a function” error and restoring correct rendering for custom prompts using {{{ input }}}.
Written for commit 8f00f53. Summary will update automatically on new commits.